package com.acmen.easyapi.model;


import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * @author acmen
 * 组合测试
 */
public class PressureTest {
    private String id;//ID
    private String appName;//应用名
    private String name;//测试数据名
    private String basePath;//请求路径
    private LocalDateTime createDt = LocalDateTime.now();//创建时间
    private Integer concurrency;//并发量
    private Map headers;//请求头部信息
    private List<TestReport> aggregateReports;

    public String getId() {
        return id;
    }

    public PressureTest setId(String id) {
        this.id = id;
        return this;
    }

    public String getAppName() {
        return appName;
    }

    public PressureTest setAppName(String appName) {
        this.appName = appName;
        return this;
    }

    public String getName() {
        return name;
    }

    public PressureTest setName(String name) {
        this.name = name;
        return this;
    }


    public String getBasePath() {
        return basePath;
    }

    public PressureTest setBasePath(String basePath) {
        this.basePath = basePath;
        return this;
    }

    public LocalDateTime getCreateDt() {
        return createDt;
    }

    public PressureTest setCreateDt(LocalDateTime createDt) {
        this.createDt = createDt;
        return this;
    }

    public Integer getConcurrency() {
        return concurrency;
    }

    public PressureTest setConcurrency(Integer concurrency) {
        this.concurrency = concurrency;
        return this;
    }

    public Map getHeaders() {
        return headers;
    }

    public PressureTest setHeaders(Map headers) {
        this.headers = headers;
        return this;
    }

    public List<TestReport> getAggregateReports() {
        return aggregateReports;
    }

    public PressureTest setAggregateReports(List<TestReport> aggregateReports) {
        this.aggregateReports = aggregateReports;
        return this;
    }
}
